package cn.pzaily.fealetter.service.impl;

import cn.pzaily.fealetter.entity.ConfigEntity;
import cn.pzaily.fealetter.mapper.ConfigMapper;
import cn.pzaily.fealetter.service.ConfigService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @PackageName: cn.pzaily.fealetter.service.impl
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-21 20:43
 */
@Service
public class ConfigServiceImpl extends
        ServiceImpl<ConfigMapper, ConfigEntity> implements ConfigService {

    @Override
    public List<ConfigEntity> findConfigByTemplateAndSignature(String templateCode, String signatureCode) {
        return baseMapper.selectByTemplateAndSignature(templateCode, signatureCode);
    }
}
